import React, { Component } from 'react';


import Header from '../../core/components/header';
import { getHost } from '../../core/utils/fetch';

class UserDownload extends Component {

    state = {
    };

    render() {
        return (
            <div>
                <Header title="用户信息下载" subTitle="System Manage"></Header>

                <div className="row">
                    <div className="col-lg-4">
                        <button type="button" className="btn btn-success btn-modify" onClick={this._onSave}>下载</button>
                    </div>
                </div>
            </div>
        );
    }

    _onSave = () => {
        window.open(getHost() + '/spi/customer/download');
    };
}

export default UserDownload;